Pod::Spec.new do |s|
  s.name             = "LNUniversal"    #名称
  s.version          = "0.0.1"             #版本号
  s.summary          = "Just LNUniversal."     #简短介绍，下面是详细介绍
  s.description      = <<-DESC
                       Testing Private Podspec.

                       * Markdown format.
                       * Don't worry about the indent, we strip it!
                       DESC
  s.homepage         = "http://git.oschina.net/iliunian/LNUniversal"                           #主页,这里要填写可以访问到的地址，不然验证不通过
  # s.screenshots     = "www.example.com/screenshots_1", "www.example.com/screenshots_2"           #截图
  s.license          = 'MIT'              #开源协议
  s.author           = { "liu nian" => "i19850511@gmail.com" }                   #作者信息
  s.source           = { :git => "https://git.oschina.net/iliunian/LNUniversal.git", :tag => "0.0.1" }      #项目地址，这里不支持ssh的地址，验证不通过，只支持HTTP和HTTPS，最好使用HTTPS
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'                       #多媒体介绍地址

  s.platform     = :ios, '7.0'            #支持的平台及版本
  s.requires_arc = true                   #是否使用ARC，如果指定具体文件，则具体的问题使用ARC

  s.subspec 'Common' do |common|
    common.source_files = 'LNUniversal/Common/*.{h,m}'
    common.public_header_files = 'LNUniversal/Common/*.h'
  end

  s.subspec 'Category' do |category|
    category.source_files = 'LNUniversal/Category/*.{h,m}'
    category.public_header_files = 'LNUniversal/Category/*.h'
  end

  s.subspec 'EnvObserver' do |envObserver|
    envObserver.source_files = 'LNUniversal/EnvObserver/*.{h,m}'
    envObserver.public_header_files = 'LNUniversal/EnvObserver/*.h'
  end

  s.subspec 'Utility' do |utility|
    utility.source_files = 'LNUniversal/Utility/*.{h,m}'
    utility.public_header_files = 'LNUniversal/Utility/*.h'
  end

  #s.public_header_files = 'LNUniversal/LNUniversal.h'   #公开头文件地址
  s.frameworks = 'UIKit'                 #所需的framework，多个用逗号隔开
  s.dependency 'Base64', '~> 1.0.1'
  s.dependency 'Masonry', '~> 0.5.3'
  s.dependency 'RegexKitLite', '~> 4.0'
  s.dependency 'UIViewController+HUD'

end